package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class TrainingSituation extends BaseDomain{
    //培训名称
    private Long trainingTitle;
    //培训类型
    private String reasonForTraining;
    //培训机构
    private String trainingInstitution;
    //培训费用
    private Long trainingCost;
    //培训场所
    private String houseTraining;
    //培训成果
    private Long trainingresults;
    //开始日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date beginDate;
    //结束日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //数据传入使用日期类型
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date endDate;
    //备注
    private String remark;
    //staffId
    private Long staffId;
}